package com.cungmua.app.model.response;

import com.cungmua.app.model.User;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by kelvin.nguyen on 7/1/14.
 */
public class ProfileResponse extends CungMuaResponse {
    User user;

    public ProfileResponse(@JsonProperty("Msg") String message, @JsonProperty("Code") int code) {
        super(message, code);
    }

    @JsonProperty("Data")
    public void setData(User user) {
        this.user = user;
    }

    @Override
    public User getData() {
        return user;
    }
}

